package com.oa.bean.student;
/**
 * 成绩管理表
 * */
public class Grade {
	private int scoid;	//成绩编码
	private int stuid;	//学生编码
	private int score;	//学生成绩
	private String sconame;		//考试科目
	
	private Student students;
	
	public Grade(){}

	public Grade(int scoid, int stuid, int score, String sconame) {
		super();
		this.scoid = scoid;
		this.stuid = stuid;
		this.score = score;
		this.sconame = sconame;
	}

	public int getScoid() {
		return scoid;
	}

	public void setScoid(int scoid) {
		this.scoid = scoid;
	}

	public int getStuid() {
		return stuid;
	}

	public void setStuid(int stuid) {
		this.stuid = stuid;
	}

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}

	public String getSconame() {
		return sconame;
	}

	public void setSconame(String sconame) {
		this.sconame = sconame;
	}

	public Student getStudents() {
		return students;
	}

	public void setStudents(Student students) {
		this.students = students;
	}

	@Override
	public String toString() {
		return "Grade [scoid=" + scoid + ", stuid=" + stuid + ", score=" + score + ", sconame=" + sconame + "]";
	}
	
	
	
}
